//
//  OMOrderLog.h
//  OMENGO_NEW
//
//  Created by 梁尚嘉 on 2017/5/12.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "BaseModel.h"

/**
 * 类型
 */
typedef NS_ENUM(NSUInteger,OrderLogType) {

    /** 订单创建 */
    OrderLogTypeCreate,

    /** 订单更新 */
    OrderLogTypeUpdate,

    /** 订单取消 */
    OrderLogTypeCancel,

    /** 订单审核 */
    OrderLogTypeReview,

    /** 订单收款 */
    OrderLogTypePayment,

    /** 订单退款 */
    OrderLogTypeRefunds,

    /** 订单发货 */
    OrderLogTypeShipping,

    /** 订单退货 */
    OrderLogTypeReturns,

    /** 订单收货 */
    OrderLogTypeReceive,

    /** 订单完成 */
    OrderLogTypeComplete,

    /** 订单失败 */
    OrderLogTypeFail
};

@interface OMOrderLog : BaseModel
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *create_date;
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *modify_date;
@property (nonatomic, copy) NSString *operater;
@property (nonatomic, copy) NSString *order_id;
@property (nonatomic, assign) NSUInteger type;
@property (nonatomic, copy) NSString *version;
@property (nonatomic, copy) NSString *typeName;

- (NSString *)orderLogStr;
@end
